package com.acme.bankapp.domain.bank;

public class SavingsAccount extends AbstractAccount {

	public SavingsAccount(long numer, double balance) {
		this.numer = numer;
		if (this.balance == 0) {
			this.balance = balance;
		}

	}

	public SavingsAccount() {

	}

	public long getNumer() {
		return numer;
	}
	
	public double maximumAmountToWithdraw() {
		 
		 return balance;
	 }

}
